package com.zhang.modules.user.entity.cmd;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * A DTO for the {@link com.zhang.modules.user.entity.SysUser} entity
 */
@Data
public class LoginCmd implements Serializable {

    @NotBlank(message = "用户账号不能为空")
    private  String userAccount;
    @NotBlank(message = "密码不能为空")
    private  String password;
}